package com.lxmes.hr.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 计件工资明细对象 nc_piecework_money_detail
 *
 * @author 张志煜
 * @date 2023-01-16
 */
public class NcPieceworkMoneyDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 计件日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计件日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pieceworkDate;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String gcCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String gcName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String jobNo;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 分部 */
    @Excel(name = "分部")
    private String branch;

    /** 组别 */
    @Excel(name = "组别")
    private String pGroup;

    /** 岗位 */
    @Excel(name = "岗位")
    private String jobs;

    /** 车间 */
    @Excel(name = "车间")
    private String cj;

    /** 生产线 */
    @Excel(name = "生产线")
    private String proLine;

    /** 工位代码 */
    @Excel(name = "工位代码")
    private String gwCode;

    /** 工位名称 */
    @Excel(name = "工位名称")
    private String gwName;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 物料号 */
    @Excel(name = "物料号")
    private String itemCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 计件单位 */
    @Excel(name = "计件单位")
    private String pieceworkUnit;

    /** 计件单价 */
    @Excel(name = "计件单价")
    private BigDecimal pieceworkPrice;

    /** 计件数量 */
    @Excel(name = "计件数量")
    private BigDecimal pieceworkNum;

    /** 计件工资 */
    @Excel(name = "计件工资")
    private BigDecimal pieceworkGz;

    @Excel(name = "重量")
    private BigDecimal xlzl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPieceworkDate(Date pieceworkDate)
    {
        this.pieceworkDate = pieceworkDate;
    }

    public Date getPieceworkDate()
    {
        return pieceworkDate;
    }
    public void setGcCode(String gcCode)
    {
        this.gcCode = gcCode;
    }

    public String getGcCode()
    {
        return gcCode;
    }
    public void setGcName(String gcName)
    {
        this.gcName = gcName;
    }

    public String getGcName()
    {
        return gcName;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setJobNo(String jobNo)
    {
        this.jobNo = jobNo;
    }

    public String getJobNo()
    {
        return jobNo;
    }
    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }
    public void setBranch(String branch)
    {
        this.branch = branch;
    }

    public String getBranch()
    {
        return branch;
    }
    public void setpGroup(String pGroup)
    {
        this.pGroup = pGroup;
    }

    public String getpGroup()
    {
        return pGroup;
    }
    public void setJobs(String jobs)
    {
        this.jobs = jobs;
    }

    public String getJobs()
    {
        return jobs;
    }
    public void setCj(String cj)
    {
        this.cj = cj;
    }

    public String getCj()
    {
        return cj;
    }
    public void setProLine(String proLine)
    {
        this.proLine = proLine;
    }

    public String getProLine()
    {
        return proLine;
    }
    public void setGwCode(String gwCode)
    {
        this.gwCode = gwCode;
    }

    public String getGwCode()
    {
        return gwCode;
    }
    public void setGwName(String gwName)
    {
        this.gwName = gwName;
    }

    public String getGwName()
    {
        return gwName;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setPieceworkUnit(String pieceworkUnit)
    {
        this.pieceworkUnit = pieceworkUnit;
    }

    public String getPieceworkUnit()
    {
        return pieceworkUnit;
    }
    public void setPieceworkPrice(BigDecimal pieceworkPrice)
    {
        this.pieceworkPrice = pieceworkPrice;
    }

    public BigDecimal getPieceworkPrice()
    {
        return pieceworkPrice;
    }
    public void setPieceworkNum(BigDecimal pieceworkNum)
    {
        this.pieceworkNum = pieceworkNum;
    }

    public BigDecimal getPieceworkNum()
    {
        return pieceworkNum;
    }
    public void setPieceworkGz(BigDecimal pieceworkGz)
    {
        this.pieceworkGz = pieceworkGz;
    }

    public BigDecimal getPieceworkGz()
    {
        return pieceworkGz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pieceworkDate", getPieceworkDate())
            .append("gcCode", getGcCode())
            .append("gcName", getGcName())
            .append("name", getName())
            .append("jobNo", getJobNo())
            .append("department", getDepartment())
            .append("branch", getBranch())
            .append("pGroup", getpGroup())
            .append("jobs", getJobs())
            .append("cj", getCj())
            .append("proLine", getProLine())
            .append("gwCode", getGwCode())
            .append("gwName", getGwName())
            .append("orderNo", getOrderNo())
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .append("pieceworkUnit", getPieceworkUnit())
            .append("pieceworkPrice", getPieceworkPrice())
            .append("pieceworkNum", getPieceworkNum())
            .append("pieceworkGz", getPieceworkGz())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public BigDecimal getXlzl() {
        return xlzl;
    }

    public void setXlzl(BigDecimal xlzl) {
        this.xlzl = xlzl;
    }
}
